package com.thinkgem.jeesite.modules.data.rep.entity;


import com.thinkgem.jeesite.common.persistence.BaseEntity;

import java.util.Date;

/**
 * 报表配置结果列表
 * @author Havel 2018/12/17
 * @since 1.0
 */
public class TfEcReportConfigOut extends BaseEntity<TfEcReportConfigOut> {

    //复杂表头使用配置
    public static final String SPAN_TYPE_DEF= "0";//非合并数据头
    public static final String SPAN_TYPE_ROW= "1";//行合并
    public static final String SPAN_TYPE_COL= "2";//列合并

    /**
     * 输出结果编码 
     */
    private Long outResultId;

    /**
     * 商品ID 
     */
    private Long reportId;

    /**
     * 参数编码 
     */
    private String itemCode;

    /**
     * 参数名称 
     */
    private String itemName;

    /**
     * 备注 
     */
    private String remark;

    /**
     * 删除标志 0 在用 1 删除 
     */
    private String delFlag;

    /**
     * 录入员工 
     */
    private String inStaffId;

    /**
     * 录入时间 
     */
    private Date inDate;

    /**
     * 更新员工 
     */
    private String updateStaffId;

    /**
     * 更新时间 
     */
    private Date updateTime;

    /**
     * 排序
     */
    private Integer sort;

    /**
     *
     */
    private String isDetail="0";

    /**
     * 复杂表头使用：复杂类型 0-常规|1-rowspan|2-colspan
     */
    private String spanType;

    /**
     * 复杂表头使用
     */
    private String spanValue;

    /**
     * 备用字段1 
     */
    private String rsrvStr5;


    public TfEcReportConfigOut(Long outResultId) {
        this.outResultId = outResultId;
        this.spanType = "0";
    }

    public TfEcReportConfigOut() {
        this.spanType = "0";
    }

    /**
     * 插入之前执行方法，子类实现
     */
    public void preInsert() {

    }

    /**
     * 更新之前执行方法，子类实现
     */
    public void preUpdate() {

    }

    public Long getOutResultId() {
        return outResultId;
    }

    public void setOutResultId(Long outResultId) {
        this.outResultId = outResultId;
    }

    public Long getReportId() {
        return reportId;
    }

    public void setReportId(Long reportId) {
        this.reportId = reportId;
    }

    public String getItemCode() {
        return itemCode;
    }

    public void setItemCode(String itemCode) {
        this.itemCode = itemCode == null ? null : itemCode.trim();
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName == null ? null : itemName.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag == null ? null : delFlag.trim();
    }

    public String getInStaffId() {
        return inStaffId;
    }

    public void setInStaffId(String inStaffId) {
        this.inStaffId = inStaffId == null ? null : inStaffId.trim();
    }

    public Date getInDate() {
        return inDate;
    }

    public void setInDate(Date inDate) {
        this.inDate = inDate;
    }

    public String getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(String updateStaffId) {
        this.updateStaffId = updateStaffId == null ? null : updateStaffId.trim();
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getIsDetail() {
        return isDetail;
    }

    public void setIsDetail(String isDetail) {
        this.isDetail = isDetail;
    }

    public String getSpanType() {
        return spanType;
    }

    public void setSpanType(String spanType) {
        this.spanType = spanType;
    }

    public String getSpanValue() {
        return spanValue;
    }

    public void setSpanValue(String spanValue) {
        this.spanValue = spanValue;
    }

    public String getRsrvStr5() {
        return rsrvStr5;
    }

    public void setRsrvStr5(String rsrvStr5) {
        this.rsrvStr5 = rsrvStr5 == null ? null : rsrvStr5.trim();
    }

}